#{extends 'main.html' /} #{set title:'Home' /}
<div id=main>
	<form name=Post action="@{PostingIdea.addIdeaToEntity(entityId)}"
		method="POST">

		<div class="content">
			<div class="row">
				<div class="left">Title*</div>
				<div class="right">
					<input type="text" name="Title" size='25' value=${draft.subject}
						required>
				</div>
				<div class="clear"></div>
			</div>

			<div class="row">
				<div class="left">Body*</div>
				<div class="right">
					<td><textarea rows="10" cols="25" name="Body" required>${draft.body}
					</textarea>
				</div>
				<div class="clear"></div>
			</div>
			<input type="submit" name="Post" value="Post Idea to Entity" />
	</form>

</div>